package cn.sunlight.city.mapper;

import cn.sunlight.city.pojo.ChinaCity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

public interface ChinaCityMapper extends BaseMapper<ChinaCity> {

    //根据父级id找子级
    List<ChinaCity> selectByParentId(Long parentId);

    //查询所有
    List<ChinaCity> selectAll();


}
